package com.ruoyi.ies.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆维修对象 vehicle_maintenance
 *
 * @author July
 * @date 2023-06-12
 */
public class VehicleMaintenance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private Long vehicleId;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String vehicleName;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String vehicleType;

    /** 维修申请 */
    @Excel(name = "维修申请")
    private String maintenanceRequest;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date requestDate;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 是否审核 */
    @Excel(name = "是否审核")
    private String examine;

    /** 审核回复 */
    @Excel(name = "审核回复")
    private String recover;

    public void setVehicleId(Long vehicleId)
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId()
    {
        return vehicleId;
    }
    public void setVehicleName(String vehicleName)
    {
        this.vehicleName = vehicleName;
    }

    public String getVehicleName()
    {
        return vehicleName;
    }
    public void setVehicleType(String vehicleType)
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType()
    {
        return vehicleType;
    }
    public void setMaintenanceRequest(String maintenanceRequest)
    {
        this.maintenanceRequest = maintenanceRequest;
    }

    public String getMaintenanceRequest()
    {
        return maintenanceRequest;
    }
    public void setRequestDate(Date requestDate)
    {
        this.requestDate = requestDate;
    }

    public Date getRequestDate()
    {
        return requestDate;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getUsername()
    {
        return username;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setExamine(String examine)
    {
        this.examine = examine;
    }

    public String getExamine()
    {
        return examine;
    }
    public void setRecover(String recover)
    {
        this.recover = recover;
    }

    public String getRecover()
    {
        return recover;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("vehicleId", getVehicleId())
                .append("vehicleName", getVehicleName())
                .append("vehicleType", getVehicleType())
                .append("maintenanceRequest", getMaintenanceRequest())
                .append("requestDate", getRequestDate())
                .append("username", getUsername())
                .append("name", getName())
                .append("examine", getExamine())
                .append("recover", getRecover())
                .toString();
    }
}
